package service;


import com.github.pagehelper.PageInfo;
import entity.Tourist;

import java.util.List;

public interface TouristService {

    int insert(Tourist tourist);

    int delete(int id);

    int update(Tourist tourist);

    Tourist getOne(int id);

    List<Tourist> getList(Tourist tourist);

    PageInfo<Tourist> getPageList(Tourist tourist);

}
